package com.oo.inherit_3.game;

/**
 * Test--${description}
 *
 * @author: Jovi
 * @createTime: 2017-05-09 10:48
 **/
public class Test {

    public static void main(String[] args) {
        Snake one = new Snake("蛇妖1", 5, 20);
        System.out.println(one.attack());
        one.addBlood();
        one.move();

        System.out.println("================");
        Centipede two = new Centipede("蜈蚣2", 10, 12);
        System.out.println(two.attack());
        two.move();
    }
}
